#pragma strict
public var inner:GameObject;
private var original:Vector3;
public var diescript:Die;



function Start () {
original=inner.transform.localScale;
Debug.Log(original);
}

function Update () {
if(diescript.flag==true)
inner.transform.localScale=original;
}

function OnTriggerExit(other:Collider)
{
inner.transform.localScale=Vector3(original.x,original.y,11.4);
diescript.flag=false;
}